package com.teach.vo;

import com.teach.annotations.Id;
import com.teach.annotations.Name;

/**<pre>
 * - 
 * ClassName : com.teach.vo.LoginUser
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Date : 2020年7月31日 下午3:51:25
 * Version : 1.0
 * Copyright 2020 jlzhou.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. 
 * It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public class LoginUser {

	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	@Id
	private Long userId;
	/**
	 * <pre>系统部门编号 - DEPT_ID</pre>
	 **/
	@Name("dept_id")
	private Long deptId;
	/**
	 * <pre>角色编号 - ROLE_ID</pre>
	 **/
	private Integer roleId;
	/**
	 * <pre>用户名，唯一 - USER_NAME</pre>
	 **/
	private String userName;
	/**
	 * <pre>用户昵称 - USER_NICKNAME</pre>
	 **/
	private String userNickname;
	
	private String roleCode;
	/**
	 * <pre>角色名称 - ROLE_NAME</pre>
	 **/
	private String roleName;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getDeptId() {
		return deptId;
	}
	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserNickname() {
		return userNickname;
	}
	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	@Override
	public String toString() {
		return "LoginUser [userId=" + userId + ", deptId=" + deptId + ", roleId=" + roleId + ", userName=" + userName
				+ ", userNickname=" + userNickname + ", roleCode=" + roleCode + ", roleName=" + roleName + "]";
	}
	
	
	
}
